/*
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: PointCardBean.java
 *   @Date: 18-11-30 下午5:50
 *   @Author: ppzhao
 *   @Description:
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 */

package io.bhex.sdk.point.bean;

import java.util.HashMap;
import java.util.List;

import io.bhex.baselib.network.response.BaseResponse;

public class PointCardBean extends BaseResponse {
    /**
     * pointPackId : 3
     * name : 早鸟
     * pointQuantity : 100
     * discountRate : 1
     * releaseTime : 0
     * remainTime : 0
     * isSellOut : true
     * packBaseQuota : {"base":1,"original":{"USDT":42.31306933,"ETH":0.35935339,"BTC":0.01},"discount":{"USDT":42.31306933,"ETH":0.35935339,"BTC":0.01}}
     * supportPayTokenList : ["USDT","ETH","BTC"]
     * defaultPayToken : USDT
     * defaultFeeToken : BTC
     * packBonusToken : {"base":1,"quota":{"BHC":850}}
     */

    private String pointPackId;
    private String name;
    private String pointQuantity;
    private String discountRate;
    private long releaseTime;
    private long remainTime;
    private boolean isSellOut;
    private PackBaseQuotaBean packBaseQuota;
    private String defaultPayToken;
    private String defaultFeeToken;
    private PackBonusTokenBean packBonusToken;
    private List<String> supportPayTokenList;

    public String getPointPackId() {
        return pointPackId;
    }

    public void setPointPackId(String pointPackId) {
        this.pointPackId = pointPackId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPointQuantity() {
        return pointQuantity;
    }

    public void setPointQuantity(String pointQuantity) {
        this.pointQuantity = pointQuantity;
    }

    public String getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(String discountRate) {
        this.discountRate = discountRate;
    }

    public long getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(long releaseTime) {
        this.releaseTime = releaseTime;
    }

    public long getRemainTime() {
        return remainTime;
    }

    public void setRemainTime(long remainTime) {
        this.remainTime = remainTime;
    }

    public boolean isIsSellOut() {
        return isSellOut;
    }

    public void setIsSellOut(boolean isSellOut) {
        this.isSellOut = isSellOut;
    }

    public PackBaseQuotaBean getPackBaseQuota() {
        return packBaseQuota;
    }

    public void setPackBaseQuota(PackBaseQuotaBean packBaseQuota) {
        this.packBaseQuota = packBaseQuota;
    }

    public String getDefaultPayToken() {
        return defaultPayToken;
    }

    public void setDefaultPayToken(String defaultPayToken) {
        this.defaultPayToken = defaultPayToken;
    }

    public String getDefaultFeeToken() {
        return defaultFeeToken;
    }

    public void setDefaultFeeToken(String defaultFeeToken) {
        this.defaultFeeToken = defaultFeeToken;
    }

    public PackBonusTokenBean getPackBonusToken() {
        return packBonusToken;
    }

    public void setPackBonusToken(PackBonusTokenBean packBonusToken) {
        this.packBonusToken = packBonusToken;
    }

    public List<String> getSupportPayTokenList() {
        return supportPayTokenList;
    }

    public void setSupportPayTokenList(List<String> supportPayTokenList) {
        this.supportPayTokenList = supportPayTokenList;
    }

    public static class PackBaseQuotaBean {
        /**
         * base : 1
         * original : {"USDT":42.31306933,"ETH":0.35935339,"BTC":0.01}
         * discount : {"USDT":42.31306933,"ETH":0.35935339,"BTC":0.01}
         */

        private String base;
        private HashMap<String, String> original;
        private HashMap<String, String> discount;

        public String getBase() {
            return base;
        }

        public void setBase(String base) {
            this.base = base;
        }

        public HashMap<String, String> getOriginal() {
            return original;
        }

        public void setOriginal(HashMap<String, String> original) {
            this.original = original;
        }

        public HashMap<String, String> getDiscount() {
            return discount;
        }

        public void setDiscount(HashMap<String, String> discount) {
            this.discount = discount;
        }
    }

    public static class PackBonusTokenBean {
        /**
         * base : 1
         * quota : {"BHC":850}
         */

        private String base;
        private HashMap<String, String> quota;

        public String getBase() {
            return base;
        }

        public void setBase(String base) {
            this.base = base;
        }

        public HashMap<String, String> getQuota() {
            return quota;
        }

        public void setQuota(HashMap<String, String> quota) {
            this.quota = quota;
        }
    }
}
